package com.wyl.auth.common.service;

import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2024/6/23 10:34
 */
public interface FileService {

    /**
     * 上传文件
     * @param file
     * @return
     */
    String upload(MultipartFile file);
}